package util;

import android.util.Log;

import csf.getmoney.Constant;

public class LogUtil {

	public static void info(String msg, Object value) {
		if (Constant.IS_LOG_MODE) {
			Log.i("logINFO", "[ Message = " + msg + " ], [ Value = " + value + " ]");
		}
	}

	public static void debug(String msg, Object value) {
		if (Constant.IS_LOG_MODE) {
			Log.d("logDEBUG", "[ Message = " + msg + " ], [ Value = " + value + " ]");
		}
	}
	
	public static void debug(String msg, Object value1, Object value2) {
		if (Constant.IS_LOG_MODE) {
			Log.d("logDEBUG", "[ Message = " + msg + " ], [ Value1 = " + value1 + " ], [ Value2 = " + value2 + " ]");
		}
	}
	
	public static void debug(String msg, Object value1, Object value2, Object value3) {
		if (Constant.IS_LOG_MODE) {
			Log.d("logDEBUG", "[ Message = " + msg + " ], [ Value1 = " + value1 + " ], [ Value2 = " + value2 + " ], [ Value3 = " + value3 + " ]");
		}
	}

	public static void warn(String msg, Object value) {
		if (Constant.IS_LOG_MODE) {
			Log.w("logWARN", "[ Message = " + msg + " ], [ Value = " + value + " ]");
		}
	}

	public static void error(String msg, Object value) {
		if (Constant.IS_LOG_MODE) {
			Log.e("logERROR", "[ Message = " + msg + " ], [ Value = " + value + " ]");
		}
	}

	public static void logVERBOSE(String msg, Object value) {
		if (Constant.IS_LOG_MODE) {
			Log.v("logVERBOSE", "[ Message = " + msg + " ], [ Value = " + value + " ]");
		}
	}
}
